/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.edmo.fastener.domain;

/**
 *
 * @author obelog
 */
public class Order {
    
    private int suk;
    private int pcs;
    private String material;
    private String deliv;
    private Supplier supplier;

    public Order() {
    }

    public Order(int suk, int pcs, String material, String deliv) {
        this.suk = suk;
        this.pcs = pcs;
        this.material = material;
        this.deliv = deliv;
    }

    public Supplier getSupplier() {
        return supplier;
    }

    public void setSupplier(Supplier supplier) {
        this.supplier = supplier;
    }
    
    public int getSuk() {
        return suk;
    }

    public void setSuk(int suk) {
        this.suk = suk;
    }

    public int getPcs() {
        return pcs;
    }

    public void setPcs(int pcs) {
        this.pcs = pcs;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public String getDeliv() {
        return deliv;
    }

    public void setDeliv(String deliv) {
        this.deliv = deliv;
    }

    @Override
    public String toString() {
        return suk + "|" + pcs + "|" + material + "|" + deliv;
    }
    
    
    
}
